package files;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class ConsoleIn {

	public static void main2(String[] args) throws IOException {
		BufferedReader is = new BufferedReader(new InputStreamReader(System.in));
		String s = "";
		String input = is.readLine();
		while (input != null) {
			s += input + "\n";
			input = is.readLine();
		}
		System.out.println(s);
	}

	public static void main(String[] args) throws IOException {
		int input = System.in.read();
		char c;
		while (input != -1) {
			c = (char) input;
			System.out.println("Zeichen '" + c + "'. Als int: " + input);
			input = System.in.read(); 
		}
	}

}
